package org.yn.mkt.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import org.yn.base.domain.BaseDomain;


import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.yn.emp.domain.Employee;


/**
 * <p>
 * 
 * </p>
 *
 * @author yn
 * @since 2023-07-31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Clue extends BaseDomain{
    @ExcelIgnore
    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    private Long id;
    /**
     * 全名
     */
    @ExcelProperty(value = "full_name")
    private String fullName;
    /**
     * 称呼
     */
    @ExcelProperty(value = "appellation")
    private String appellation;
    @ExcelProperty(value = "company" )
    private String company;

    @ExcelProperty(value = "job" )
    private String job;

    @ExcelProperty(value = "email")
    private String email;
    @ExcelProperty(value = "phone" )
    private String phone;
    @ExcelProperty(value = "mphone" )
    private String mphone;
    @ExcelProperty(value = "address" )
    private String address;

    /**
     * 客户来源，关联向数据字典明细
     */
    @ExcelProperty(value = "source" )
    private Long source;
    /**
     * 营销人员，关联向员工表
     */
//    @ExcelProperty(value = "owner" ,index = 9)
    @ExcelIgnore
    private Employee owner;
    /**
     * 未分配  跟进中 已转化为商机 放入线索池
     */
    @ExcelProperty(value = "state")
    private Integer state;



    @ExcelProperty(value = "create_by")
    private String createBy;

    @ExcelProperty(value = "create_time" )
    private Date createTime;

    @ExcelProperty(value = "edit_by" )
    private String editBy;
    @ExcelProperty(value = "edit_Time" )
    private Date editTime;
    @ExcelProperty(value = "description")
    private String description;
    /**
     * 最近一次跟进概述
     */
    @ExcelProperty(value = "contact_summary" )
    private String contactSummary;
    /**
     * 下一次联系的时间
     */
    @ExcelProperty(value = "next_contact_time")
    private Date nextContactTime;


}
